% !Mode:: "TeX:UTF-8"
\documentclass{beamer}

\mode<presentation>
{
\usetheme{Warsaw}

\setbeamercovered{transparent}
}

\usepackage[UTF8]{ctex} % 支持中文

% Table Support
\usepackage{tabu}

% 分页Slide不编号
\setbeamertemplate{frametitle continuation}{}

% 插入多列
\usepackage{multicol}

% 插入链接
\usepackage{hyperref}
\hypersetup{urlcolor=blue}
\hypersetup{linkcolor=blue}

% 插入图片
\usepackage{graphicx}

% 插入代码
\usepackage{xcolor}
\definecolor{mygray}{RGB}{245,245,245}

\usepackage{listings}
\lstset{language=Python}
\lstset{escapeinside=``}
\lstset{numbers=left}
\lstset{breaklines}
\lstset{backgroundcolor=\color{mygray}}

% Delete this, if you do not want the table of contents to pop up at
% the beginning of each subsection:
\AtBeginSubsection[]
{
\begin{frame}<beamer>
\frametitle{Outline}
%\begin{multicols}{2}
\tableofcontents[currentsection,currentsubsection]
%\end{multicols}
\end{frame}
}

% If you wish to uncover everything in a step-wise fashion, uncomment
% the following command:

%\beamerdefaultoverlayspecification{<+->}

\begin{document}

\title{基于长轮询方式实现的即时通信 Web 应用}
\subtitle{计算机网络课程设计报告}

% - Use the \inst{?} command only if the authors have different
%   affiliation.
%\author{F.~Author\inst{1} \and S.~Another\inst{2}}
\footnotesize\author{惠梦璐\ 黄玺\ 刘砺志\ 檀锦彬\ 魏捷}

% - Use the \inst command only if there are several affiliations.
% - Keep it simple, no one is interested in your street address.
\institute[Universities of]
{
厦门大学\quad 计算机科学系}

\renewcommand{\today}{\number\year 年 \number\month 月 \number\day 日}
\date{\today}

% This is only inserted into the PDF information catalog. Can be left
% out.
\subject{Presentations}

% title page
\begin{frame}
\titlepage
\end{frame}

% content
\begin{frame}\normalsize
\frametitle{Outline}
%\begin{multicols}{1}
\tableofcontents
%\end{multicols}
% You might wish to add the option [pausesections]
\end{frame}

\section{Introduction}\normalsize

\subsection{The Idea}
\begin{frame}
\frametitle{The Purpose}
Following a talk-to-strangers website called \href{http://www.omegle.com/}{Omegle}\footnote{http://www.omegle.com/}.
\begin{center}
\includegraphics[width=8.4cm,height=6cm]{Footages/Omegle.png}\\
\scriptsize Fig.1-1 Omegle website
\end{center}
\end{frame}

\begin{frame}
\frametitle{Things to Consider}
\begin{itemize}
\item Basic Functions
	\begin{itemize}
	\item Chatting
	\item Randomly matching users
	\item Account managing
	\item User Interface
	\end{itemize}
\item Dealing with Semi-structured Web Data
\item Performance and Latency
\item Security \& Privacy
\item Robustness
\end{itemize}
\end{frame}

\subsection{Team Working}
\begin{frame}
\frametitle{Our Team}
Team Working:
\begin{description}
\item[惠梦璐] Front-end design
\item[檀锦彬] Front-end design and back-end programming
\item[魏捷] Back-end and SQLite developing
\item[黄玺] MongoDB and back-end developing / Lecturing
\item[刘砺志] Idea and course report
\end{description}
\end{frame}

\section{Designing Our Web Application}

\subsection{Back-end}
\begin{frame}
\frametitle{}
\end{frame}

\subsection{Front-end}
\begin{frame}
\frametitle{}
\end{frame}

\subsection{Databases}
\begin{frame}
\frametitle{}
\end{frame}

\begin{frame}
\frametitle{Database as a service}
\begin{table} \small \renewcommand \arraystretch{1.5}
\caption{Table 1-1 Comparing data managing with files and DBs}
\begin{tabu} to \textwidth{X|X|X[2,l]} 
\tabucline-
\textbf{Spec} & \textbf{Files} & \textbf{Databases} \\
\tabucline- 
 Storage & On disk & Managed by database\\
Data status & Raw & Organized \\
Availability & Load on use & Stable\\
Managebility & Messy & Ready for change, backup and administrating\\
Lots of small files & Tricky & Taken care by the impl of storage engine\\ 
Difficulty & Straight but troublesome & Need to learn and also troublesome...for maintainers : )\\ 
\tabucline-
\end{tabu}
\end{table}
\end{frame}
\end{document}
